const webpack = require('webpack')
const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
  publicPath: process.env.NODE_ENV == 'development' ? "/" : "/system",
  lintOnSave: false,   //配置关闭eslint
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/api': {
        target: "http://192.168.43.222:3000",
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  },
  chainWebpack: config => {

  },
})
